﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Telerik.Windows.Controls;
using System.Globalization;

namespace ARR.UI.UserControls
{
    public class MonthPicker : RadDatePicker
    {
        public MonthPicker()
        {
            this.DateSelectionMode = Telerik.Windows.Controls.Calendar.DateSelectionMode.Month;

            CultureInfo cultureInfo = new CultureInfo("en-US");
            DateTimeFormatInfo dateInfo = new DateTimeFormatInfo();
            dateInfo.ShortDatePattern = "MMMM yyyy";
            dateInfo.ShortTimePattern = "h tt";
            cultureInfo.DateTimeFormat = dateInfo;
            this.Culture = cultureInfo;
        }
    }
}
